package com.time.collection_;

import java.util.ArrayList;

/**
 * @program: tes
 * @description:韩顺平讲集合
 * @author: xuejingjing
 * @create: 2021-10-18 20:45
 **/
public class ArrayListSource {
    public static void main(String[] args) {
        //老韩解读源码
        ArrayList list = new ArrayList();
        for (int i = 1; i <=10; i++) {
            //装箱
             list.add(i);
        }
        for (int i = 11; i <=15 ; i++) {
               list.add(i);
        }
    }
}
